package com.a01staticdemo1;

public class StudentTest {
    public static void main(String[] args) {
        Student s1=new Student();
        Student.teacherName="张三老师";
        s1.setName("张三");
        s1.setAge(18);
        s1.setSex("男");
       // s1.teacherName="张三老师";
        s1.show();
        s1.study();
        Student s2=new Student();
        s2.setName("李四");
        s2.setAge(18);
        s2.setSex("男");
        s2.show();
        s2.study();
    }
}
